import Main from '../views/Home/Main/Main'
import Cart from '../views/Home/Cart/Cart'
import My from '../views/Home/My/My'

const homeRoutes = [
    {
        path: '/home/main',
        component: Main,
        title: '首页'
    },
    {
        path: '/home/cart',
        component: Cart,
        title: '购物车'
    },
    {
        path: '/home/my',
        component: My,
        title: '我的'
    },
    {
        path: '/home',
        redirect: '/home/main'
    }
]

export default homeRoutes